xen/conring: Clean up writing to the console ring
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 6 Aug 2013 15:44:31 +0000 (17:44 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 6 Aug 2013 15:44:31 +0000 (17:44 +0200)
commitcc90bf1894daf9f97791495e2256e7e342e25704
tree9690abeae7ed05e8c4eb0fdc01ebcc902e139822
parente1ab5c77b44b7bd835a2c032fa4963b36545fdb3
xen/conring: Clean up writing to the console ring

Refactor putchar_console_ring() to conring_puts().  This allows for
consistency with {sercon,vga}_puts(), prevents needless recalculation of
the conring consumer index, and slight cleanup at the two callsites.

There is no functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Matt Wilson <msw@amazon.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/drivers/char/console.c